using System;
using System.Collections.Generic;
using System.Text;

namespace AjGenesisStudio.Commands
{
    class SaveAllCommand : Command
    {
        public override bool Execute()
        {
            SaveCommand savecmd = new SaveCommand();

            foreach (Documents.Document doc in Global.Instance.MainForm.GetDocuments())
                savecmd.Execute(doc);

            return true;
        }
    }
}
